<?php 
$id= $_GET["id"];
$sql = "select * from thoi_khoa_bieu where ID=".$id;
$result = mysql_query($sql);
$row = mysql_fetch_array($result);
?>
<form name="form1" method="post" action="?mod=qltkb&act=updateOk" enctype="multipart/form-data">
<input name="id" type="hidden" value="<?php echo $row["ID"] ?>">

  <p>M&atilde; Th&#7901;i Kh&oacute;a Bi&#7875;u:
    <input type="text" name="maTKB" value="<?php echo $row["maTKB"]?>">
  </p>
  <p>K&#7923;: 
    <input type="text" name="ky" value="<?php echo $row["ky"]?>">
  </p>
  <p>N&#259;m: 
    <input type="text" name="nam" value="<?php echo $row["nam"]?>">
  </p>
  <p>T&#7915; Ng&agrave;y: 
    <input type="text" name="tuNgay" value="<?php echo $row["tuNgay"]?>">
  </p>
  <p>&#272;&#7871;n Ng&agrave;y: 
    <input type="text" name="denNgay" value="<?php echo $row["denNgay"]?>">
  </p>
  <p>
    <input type="submit" name="Submit" value="L&#432;u">
  </p>
</form>
